package com.greatwqs.wmall.product.provider.manager;

import com.greatwqs.wmall.product.provider.model.po.Product;

import java.util.List;
import java.util.Map;

/**
 * @author wang-qingsong
 */
public interface ProductManager {

    Product getProductById(Long productId);

    Product getProductByIdNotNull(Long productId);

    List<Product> getProductListByIds(List<Long> productIds);

    Map<Long, Product> getProductMapByIds(List<Long> productIds);
}